package org.demo.dao;

import java.util.List;

import org.demo.entity.OrdersLine;
import org.demo.entity.SalChance;

public interface ISalChanceDao {
	public long save(SalChance transientInstance);
	public List findAll();
	public List searchAllSalChance(int pageNo,int pageSize);
	public List searchAllSalChance(final int pageNo, final int pageSize,final SalChance chance);
	
	public int searchItemCount( int pageNo,  int pageSize, SalChance chance);
	
	public void updateSalChance(SalChance chance);
	
	public SalChance findById(Long id);
	public void delete(SalChance persistentInstance);
	
	public List<OrdersLine> selectOrdersLine(Long odrId);
}
